package docindex

import (
	"github.com/gin-gonic/gin"
)

// RegisterRoutes 注册文档索引服务路由
func RegisterRoutes(router *gin.RouterGroup) {
	// 文档索引相关接口
	router.POST("/docindex/upload", UploadDocumentHandler)
	router.POST("/docindex/upload/json", UploadDocumentJSONHandler)
}